package com.itheima.health.service.impl;

import com.itheima.health.dao.MobileOrderDao;
import com.itheima.health.pojo.Order;
import com.itheima.health.service.MobileOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MobileOrderServiceImpl implements MobileOrderService {

    @Autowired
    private MobileOrderDao mobileOrderDao;

    /**
     * 根据id查order   任务11新增
     * @param id
     * @return
     */
    @Override
    public Order findById(Integer id) {
        return mobileOrderDao.findById(id);
    }
}
